export default {
  template: `
    <div>
      <h3>{{message}}</h3>
      <button @click="btnClick">按钮</button>
      <h4>{{name}}</h4>
    </div>
  `,
  data() {
    return {
      message: 'WebPack',
      name: 'Test'
    }
  },
  methods: {
    btnClick() {
      console.log('按钮');
    }
  }
}